from shapes import*


world = TurtleWorld()
wheatly=Turtle()

def showMenu():
    print "1: Square"
    print "2: Rectangle"
    print "3: Arc"
    print "4: Exit"
    print
    answer = raw_input("please choose a Number: ")
    return answer 
 
def drawShapes(t, option):
    if option == "1":
        size = raw_input("How large? ")
        size = float(size)
        square(t,size)
    elif option == "2":
        length = input("How long? ")
        height = input("How tall? ")
        rect(t, Length,height)
    elif option == "3":
        raduis = input("how big of the raduis")
        angle = input("who big is angle ")
        arc(t, angle, raduis)    
    else:
        print "nope.avi"
         


 
def run():
    while True:
        opt = showMenu()
        if opt == "4":
            wait_for_user()
            exit()
        drawShapes(wheatly, opt)
run()





